package com.chenyuxin.ilp.model.entity.file;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("file_permission")
public class FilePermission {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("visit_user_id")
    private String visitUserId;

    @TableField("host_user_id")
    private String hostUserId;

    @TableField("file_id")
    private Long fileId;

    @TableField("folder_id")
    private Long folderId;

    @TableField("permission")
    private Integer permission;

    @TableField("type")
    private Integer type;

    @TableField("create_time")
    private LocalDateTime createTime;


}